package com.igeek.yygh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.igeek.yygh.model.cmn.Dict;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

//@Mapper
public interface DictMapper extends BaseMapper<Dict> {
    List<Dict> findAllById(Long id);

    void exportDictData(HttpServletResponse response) throws IOException;

    void importDictData(MultipartFile file) throws IOException;
}
